﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MINERP.MODEL.FoundationModel
{
    /// <summary>
    /// 新返单的记录信息
    /// </summary>
    public class NewInnerReturn_Info
    {
        public int InnerReturnID { get; set; }
        public int OrderProductID { get; set; }
        public int PhotoID { get; set; }
        public float Height { get; set; }
        public float Width { get; set; }
        public string PhotoSize { get { return "("+(Width * 2.54).ToString("0.00") + "x" + (Height*2.54).ToString("0.00")+"cm)"+Width.ToString("0.00") + "x" + Height.ToString("0.00"); } }
        public float PhotoArea { get; set; }
        public string PicPath { get; set; }
        public int ReturnUserID { get; set; }
        public string ReturnUserName { get; set; }
        public int CreateUserID { get; set; }
        public string CreateUserName { get; set; }
        public string ReturnTechFromName { get; set; }
        public string ReturnTechToName { get; set; }
        public DateTime CreateTime { get; set; }
        public string Remark { get; set; }

    }

    /// <summary>
    /// 用于合计显示某一责任人的返单总量
    /// </summary>
    public class NewInnerReturnStataView_Ifno
    {
        public int ReturnUserID { get; set; }
        public string ReturnUserName { get; set; }
        public float TotalAreas { get; set; }
    }
}
